function initTable(e, t, o) {  
	"use strict"; !  
	 function() {  
				$("#tableMain").bootstrapTable({  
					url: basePath+"/wkHis/queryHis",  
					method: "POST",  
					queryParams:queryParams,  
					contentType: "application/x-www-form-urlencoded",  
					search: 0,  
					showRefresh: 0,  
					showToggle:0,  
					showColumns: 0,  
					striped: 0,  
					iconSize: "outline",  
					toolbar:"#tableToolbar",  
					icons: {  
		
					},  
					responseHandler:function(data) {  
						return data   
					},  
					  
				   silent: true,  //刷新事件必须设置    
				   idField: "id",  
				   //height: 500,  
				   formatLoadingMessage: function () {  
  					   return "请稍等，正在加载中...";   
 				   },    
				   formatNoMatches: function () {  //没有匹配的结果    
					   return "无符合条件的记录";    
				   },    
				   onLoadError: function (data) {    
					   $('#exampleTableEvents').bootstrapTable('removeAll');   
 				   },   
 				   onClickRow: function (row) {    
				   }  
				});    
	 	 } ()  
     } (document, window, jQuery);  

 function taskStateFormatter(value) {
    		 if (value == 1) {
    			return "待审";
    		} else if (value == 2) {
    			return "审核通过";
    		}else if (value == 3){
    			return  "审核拒绝";
    		}else if (value == 0){
    			return  "送审";
    		}
 }
 
 function queryParams(pageReqeust) {  
	      pageReqeust.data_id=$("#dataId").val();  
	      pageReqeust.survey_type=$("#surveyType").val(); 
	      pageReqeust.version=0; 
	      return pageReqeust;  
 }  

 

